<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>

<%@ include file="/core/taglibs.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>        
    <%@ include file="/core/memberMeta.jsp"%>
     
      
</head>

<body>
	<script src="<%=basePath%>/resources/memberCss2/assets/js/theme.js"></script>
	<div class="page-heading">
		<h3>服务中心管理</h3>
		<ul class="breadcrumb">
			<li>服务中心管理</li>
			<li class="active">申请服务中心列表</li>
		</ul>
	</div>

	<section class="wrapper">
		<div class="row">
			<div class="col-sm-12">
				<section class="panel">
					<header class="panel-heading"> 申请服务中心列表</header>
					<div class="panel-body">
					
						<section id="table1" class="no-more-tables">
							<form name="showTable" method="post" action="<%=basePath%>/member/center/memberRequestCenterList.shtml">
								<table class="table table-bordered table-striped table-condensed cf">
									<thead class="cf">
										<tr>
											<th>用户名</th>
											<th>服务中心等级</th>
											<th>报单中心名称</th>
											<th>报单中心地址</th>
											<th>申请状态</th>
											<th>申请时间</th> 
											<th>处理时间</th>
										</tr>
									</thead>
									<tbody>
										<c:forEach items="${pagination.pageList}" var="o">
											<tr>
												<td data-title="用户名">${o.memberLoginName}</td>
												<td data-title="服务中心等级">

													<c:if test="${o.centerLevel==0}">代理商</c:if>
													<c:if test="${o.centerLevel==1}">服务中心</c:if>
													<c:if test="${o.centerLevel==2}">服务经理</c:if>
													<c:if test="${o.centerLevel==3}">区域经理</c:if>

												</td>
												<td data-title="报单中心名称">${o.title}</td>
												<td data-title="报单中心地址">${o.address}</td>

												<td data-title="申请状态">
													<c:if test="${o.state==10}">等待审核</c:if>
													<c:if test="${o.state==20}">成功</c:if>
													<c:if test="${o.state==30}">审核不通过</c:if>
												</td>
												<td data-title="申请时间"><fmt:formatDate value="${o.requestDate}" type="date" pattern="yyyy-MM-dd HH:mm:ss" /></td>
												<td data-title="处理时间"><fmt:formatDate value="${o.commitDate}" type="date" pattern="yyyy-MM-dd HH:mm:ss" /></td>

											</tr>
										</c:forEach>
									</tbody>
								</table>
								<page:pageControl />
							</form>
						</section>
					
					</div>
				</section>
			</div>
		</div>
	</section>
	<script src="<%=basePath%>/resources/memberCss2/assets/js/amazeui2.min.js"></script>
	<script src="<%=basePath%>/resources/memberCss2/assets/js/amazeui.datatables.min.js"></script>
	<script src="<%=basePath%>/resources/memberCss2/assets/js/dataTables.responsive.min.js"></script>
	<script src="<%=basePath%>/resources/memberCss2/assets/js/app.js"></script>
</body>



</html>


